package com.love.marriage.utils;

public class UserSigUtil {

    private static final int EXPIRE_TIME = 604800; // 有效期：7天

    public static String generateUserSig(String userId, String secretKey, long sdkAppId) {
        TLSSigAPIv2 api = new TLSSigAPIv2(sdkAppId, secretKey);
        return api.genUserSig(userId, EXPIRE_TIME);
    }
}
